Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.core.convert.plugins--converter

This contribution is part of XML component org.nuxeo.ecm.core.convert.plugins inside nuxeo-core-convert-plugins-5.8.jar

Extension Point

Extension point converter of component ConversionServiceImpl.

Contributed Items

  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.PDF2TextConverter" name="pdf2text">
          <sourceMimeType>application/pdf</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XML2TextConverter" name="xml2text">
          <sourceMimeType>text/xml</sourceMimeType>
          <sourceMimeType>application/xml</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.Html2TextConverter" name="html2text">
          <sourceMimeType>text/html</sourceMimeType>
          <sourceMimeType>text/xhtml</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.MD2TextConverter" name="md2text">
          <sourceMimeType>text/x-web-markdown</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XL2TextConverter" name="xl2text">
          <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XLX2TextConverter" name="xlx2text">
          <sourceMimeType>
          application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
          </sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.MSOffice2TextConverter" name="msoffice2text">
          <sourceMimeType>application/msword</sourceMimeType>
          <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.RTF2TextConverter" name="rtf2text">
          <sourceMimeType>application/rtf</sourceMimeType>
          <sourceMimeType>text/rtf</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.DOCX2TextConverter" name="docx2text">
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.wordprocessingml.document
          </sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.PPTX2TextConverter" name="pptx2text">
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.presentationml.presentation
          </sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.OOo2TextConverter" name="oo2text">
          <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation-template
          </sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet-template
          </sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
          <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.text-template
          </sourceMimeType>
    
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.RFC822ToTextConverter" name="rfc822totext">
          <destinationMimeType>text/plain</destinationMimeType>
          <sourceMimeType>message/rfc822</sourceMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.FullTextConverter" name="any2text">
          <sourceMimeType>*</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
        </converter>

XML Source

<extension point="converter" target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl">

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.PDF2TextConverter" name="pdf2text">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XML2TextConverter" name="xml2text">
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>application/xml</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.Html2TextConverter" name="html2text">
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/xhtml</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.MD2TextConverter" name="md2text">
      <sourceMimeType>text/x-web-markdown</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XL2TextConverter" name="xl2text">
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.XLX2TextConverter" name="xlx2text">
      <sourceMimeType>
      application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.MSOffice2TextConverter" name="msoffice2text">
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.RTF2TextConverter" name="rtf2text">
      <sourceMimeType>application/rtf</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.DOCX2TextConverter" name="docx2text">
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.wordprocessingml.document
      </sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.PPTX2TextConverter" name="pptx2text">
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.OOo2TextConverter" name="oo2text">
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>

      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.RFC822ToTextConverter" name="rfc822totext">
      <destinationMimeType>text/plain</destinationMimeType>
      <sourceMimeType>message/rfc822</sourceMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.core.convert.plugins.text.extractors.FullTextConverter" name="any2text">
      <sourceMimeType>*</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
    </converter>

  </extension>